home *** CD-ROM | disk | FTP | other *** search
- Path: ix.netcom.com!news
- From: George Harth <gharth@salamander.net>
- Newsgroups: comp.lang.c++
- Subject: Dialog controls to OWL instances? How?
- Date: Sun, 31 Mar 1996 18:24:23 -0500
- Organization: Netcom
- Message-ID: <315F1427.76D@salamander.net>
- NNTP-Posting-Host: akr-oh1-23.ix.netcom.com
- Mime-Version: 1.0
- Content-Type: text/plain; charset=us-ascii
- Content-Transfer-Encoding: 7bit
- X-NETCOM-Date: Sun Mar 31 5:24:38 PM CST 1996
- X-Mailer: Mozilla 2.0 (WinNT; I)
-
- Here's what I want to do (in Borland C++ 5.0)...
-
- I have dialog templates in my resource file. I instantiate a TDialog
- window passing in the DIALOG_ID. That's all fine. The dialog
- works as expected, but here's my question: How can you
- associate a radiobutton (for example) with a TRadioButton, so
- that I can call TRadioButton->Check(); as apposed to specifically
- using SendDlgItemMessage(MY_RADIO_BUTTON, msg, ...);
-
- I know you can create a TRadioButton and pass it coordinates
- telling it where to display itself, but this seems to destroy the
- ease of laying out controls in a dialog resource.
-
- Am I going crazy, or maybe just blind? It seems like the
- manuals (ie. online help files) suggest that this is possible,
- but I can't seem to find an example of it being done.
-
- Thanks for any help... George
- --
- ------------------------------------------------------------------.
- gharth@mcs.kent.edu | Aristar, Inc. |
- gharth@salamander.net | gharth@aristar.com |
- http://www.salamander.net/~gharth | http://www.aristar.com |
- ------------------------------------------------------------------*
-